package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;
import java.util.Map;

public interface IRegionService {


    List<Region> selectForList(Long parentId);

    List<Map> SelectAllRegions(Long parentId);

    List<Region> query();

    void saveOrUpdate(Region region);

    /**
     * 通过状态state,查询对应状态的地区,不仅仅用于查询推荐地区
     * @param state
     * @return
     */
    List<Region> selectCommend(Integer state);


}
